Page({
  data: {
    // address:'',
    // message:'',
    // username:'',
    // userphone:'',
    // area:'',
  },
  // 获取姓名内容
  getName: function(e) {
    this.username = e.detail.value
  },
  // 获取面积内容
  getArea: function(e) {
    this.area = e.detail.value
  },
  // 获取手机内容
  getPhone: function(e) {
    this.userphone = e.detail.value
  },
  // 获取地址内容
  getAddress: function(e) {
    this.address = e.detail.value
  },
  // 获取留言内容
  getMesg: function(e) {
    this.message = e.detail.value
  },
  clickItem: function (e) {
    console.log(this.address, 888, this.message)
    let data = {
      address:this.address,
      message: this.message,
      userphone: this.userphone,
      area: this.area,
      username: this.username,
    }
    // wx.navigateTo({
    //   url: '../orser/index?name=' + e.currentTarget.dataset.name
    // })
  },
  clickItem: function (e) {
    wx.navigateTo({
      url: '../orser/index?name=' + e.currentTarget.dataset.name
    })
  },
  onLoad: function () {
  },
})
